import { PageParamsModel } from "@/model/page-params-model";

const deviceListOptions: object = {
  align: "center",
  menuAlign: "center",
  searchMenuPosition: "right",
  searchMenuSpan: 24,
  viewBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: true,
  column: [
    {
      label: "ID",
      width: 50,
      prop: "id",
      disable: true,
    },
    {
      label: "图标",
      width: 100,
      prop: "image",
      type: "img",
    },
    {
      label: "设备名称",
      align: "left",
      prop: "name",
      overHidden: true,
    },
    {
      label: "设备类型",
      width: 100,
      prop: "category_name",
    },
    {
      label: "设备型号",
      width: 100,
      prop: "type",
    },
  ],
};

export default deviceListOptions;

export class deviceListSearchModel extends PageParamsModel {}
